<?php
/**
 * Abner
 * 2017/8/14
 * 11:14
 */

namespace app\lib\validate;


class AddAdmin extends BaseValidate
{
    protected $rule = [
        ['name', 'require', '姓名不能为空'],
        ['mobile','require|number|isMobile','手机号码不能为空|格式错误，请输入正确的手机号|格式错误，请输入正确的手机号'],
        ['pwd', 'require', '密码不能为空']
    ];


}